package com.flowerSystem.mapper;
import com.flowerSystem.entity.User;

import java.util.List;
public interface ShiroMapper {
    //根据账号查找密码
    public String getPassword(String username);
    //    根据用户名查找他有那些角色
    public List<String> getRoleByAccount(String username);
    //    根据用户名查找他有那些权限
    public List<String> getPermitionByAccount(String username);
    //    根据角色名称查找他有哪些权限
    public List<String> getPermitionByRoleName(String rolename);
    public User getUser(String username);
}
